/*
 * @(#)UserDelegation.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.user.bean;

import java.sql.Timestamp;

import com.dcivision.framework.bean.AbstractBaseObject;

/**
  UserDelegation.java

  This class is the serializable bean reflecting business logic uses.

    @author           Rollo Chan
    @company          DCIVision Limited
    @creation date    16/03/2004
    @version          $Revision: 1.8 $
*/

public class UserDelegation extends AbstractBaseObject {

  public static final String REVISION = "$Revision: 1.8 $";

  static final long serialVersionUID = 5565316290911195140L;

  private Integer sourceUserID = null;
  private String targetObjectType = null;
  private Integer targetObjectID = null;
  private Timestamp startDate = null;
  private Timestamp endDate = null;
  private String delegationRule = null;
  private String objectType = null;
  private Integer objectID = null;
  private String targetObjectName = null;
  private String sourceUserName = null;
  private String notificationType = null;

  public UserDelegation() {
    super();
  }

  public Integer getSourceUserID() { 
    return(this.sourceUserID);
  }

  public void setSourceUserID(Integer sourceUserID) { 
    this.sourceUserID = sourceUserID;
  }

  public String getTargetObjectType() { 
    return(this.targetObjectType);
  }

  public void setTargetObjectType(String targetObjectType) { 
    this.targetObjectType = targetObjectType;
  }

  public Integer getTargetObjectID() { 
    return(this.targetObjectID);
  }

  public void setTargetObjectID(Integer targetObjectID) { 
    this.targetObjectID = targetObjectID;
  }

  public Timestamp getStartDate() { 
    return(this.startDate);
  }

  public void setStartDate(Timestamp startDate) { 
    this.startDate = startDate;
  }

  public Timestamp getEndDate() { 
    return(this.endDate);
  }

  public void setEndDate(Timestamp endDate) { 
    this.endDate = endDate;
  }

  public String getDelegationRule() { 
    return(this.delegationRule);
  }

  public void setDelegationRule(String delegationRule) { 
    this.delegationRule = delegationRule;
  }

  public String getObjectType() { 
    return(this.objectType);
  }

  public void setObjectType(String objectType) { 
    this.objectType = objectType;
  }

  public Integer getObjectID() { 
    return(this.objectID);
  }

  public void setObjectID(Integer objectID) { 
    this.objectID = objectID;
  }
  
  public String getTargetObjectName() {
    return(this.targetObjectName);
  }
  
  public void setTargetObjectName(String targetObjectName) {
    this.targetObjectName = targetObjectName;
  }
  
  public String getSourceUserName() {
  	return(this.sourceUserName);
  }
  
  public void setSourceUserName(String sourceUserName) {
  	this.sourceUserName = sourceUserName;
  }
  
  public String getNotificationType() {
  	return(this.notificationType);
  }
  
  public void setNotificationType(String notificationType) {
  	this.notificationType = notificationType;
  }
}
